package zgame.jobs;

import java.io.IOException;

import org.apache.log4j.Logger;

import zgame.main.Initialize;

public class ReloadConfigJob extends Job {
  private static final Logger log = Logger.getLogger(ReloadConfigJob.class);

  @Override
  public void loop() {
    try {
      Initialize.serviceConfigReader.loadConfig();
    } catch (IOException e) {
      log.warn("Can not load config: ", e);
    }
  }
}
